package trlygjj.tanruiliyigenjinjin.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
@ToString
public class BigClient {
    /**
     * 完成签约
     */
    public static final int FINISH_CONTRACT = 1;
    /**
     * 未签约
     */
    public static final int UNFINISH_CONTRACT = 0;

    /**
     * 已经跟进
     */
    public static final int HAS_FOLLOW_STATE = 1;
    /**
     * 未跟进
     */
    public static final int NO_FOLLOW_STATE = 0;
    private Long id;
    //学校名称
    private String schoolName;
    //学校简称
    private String abbreviation;
    //重要程度
    private DataDictionaryItem important;
    //意向程度
    private DataDictionaryItem intention;
    //意向学科
    private CurriculumSeries intentionSubject;
    //意向校区
    private DataDictionaryItem intentionDistrict;
    //联系人
    private Linkman linkman;
    //营销人员
    private Employee marketer;
    //跟进人员
    private Employee merchandiser;
    //签约状态 0表示未签约 1表示签约
    private Integer contractStateId;
    //跟进状态 0表示没有跟进  1表示已跟进
    private Integer followStateId;
    //优惠价格
    private Long clientDiscount;
    //学校地址
    private String schoolAddress;
    //电话
    private String schoolTel;
    //邮箱
    private String schoolEmail;
    //办学性质 0表示公办  1表示民办
    private Integer propertyOfId;
    //学历
    private DataDictionaryItem education;
    //学校体制
    private DataDictionaryItem schoolSystem;
    //邮编
    private String postalCode;
    //主页
    private String website;
    //学生人数
    private Long studentCount;
    //IT专业人数
    private String itStudentCount;
    //简介
    private String introduction;
    //备注
    private String remarks;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT-8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lastFollowTime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT-8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date nextFollowTime;

}